package com.example.fw;

import java.io.IOException;

public class ProcessHelper extends HelperBase {

	private Process process;

	public ProcessHelper(ApplicationManager applicationManager) {
		super(applicationManager);
		
	}

	public void startTestApp() throws IOException {
		String command = appManager.getProperty("app.path");
		process = Runtime.getRuntime().exec(command);
		
	}
	
	public void stopTestApp() {
		// add button save click
		
		process.destroy();	
	}

}
